providing the warm-boot entry-point addresses.
-### Function: plat_match_rotpk()
-
- Argument : const unsigned char *, unsigned int
- Return : int
-
-This function is mandatory when Trusted Board Boot is enabled. It receives a
-pointer to a buffer containing a signing key and its size as parameters and
-returns 0 (success) if that key matches the ROT (Root Of Trust) key stored in
-the platform. Any other return value means a mismatch.
-
-
### Function: plat_get_rotpk_info()
Argument : void *, void **, unsigned int *, unsigned int *
/*******************************************************************************
* Trusted Board Boot functions
******************************************************************************/
-int plat_match_rotpk(const unsigned char *, unsigned int);
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
unsigned int *flags);
"\x8B\x4A\x4A\x46\xD8\x22\x9A\xDA";
#endif
-/*
- * Check the validity of the key
- *
- * 0 = success, Otherwise = error
- */
-int plat_match_rotpk(const unsigned char *key_buf, unsigned int key_len)
-{
- /* TODO: check against the ROT key stored in the platform */
- return 0;
-}
-
/*
* Return the ROTPK hash in the following ASN.1 structure in DER format:
*